package com.afalon.cloud.contracts.finance;

import java.math.BigDecimal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
@XmlRootElement(name = "statementline")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class StatementLine 
{
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true")
    private String statementlineid;
	
	@Persistent
	private String description;
	
	@Persistent
	private BigDecimal credit;
	
	@Persistent
	private BigDecimal debit;
	
	@Persistent
	private BigDecimal balance;
	
	@Persistent
	private String statementid;

	public StatementLine() 
	{
		
	}

	public void setStatementlineid(String value) {
		// Do nothing.
	}
	
	public String getStatementlineid() {
		return statementlineid;
	}

	public void setDescription(String value) {
		description = value;
	}

	public String getDescription() {
		return description;
	}

	public void setCredit(BigDecimal value) {
		credit = value;
	}

	public BigDecimal getCredit() {
		return credit;
	}

	public void setDebit(BigDecimal value) {
		debit = value;
	}

	public BigDecimal getDebit() {
		return debit;
	}

	public void setBalance(BigDecimal value) {
		balance = value;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setStatementid(String value) {
		statementid = value;
	}

	public String getStatementid() {
		return statementid;
	}
	
}
